﻿/*
    Write a program that generates and prints all possible cards from a standard deck of 52 cards 
    (without the jokers). The cards should be printed using the classical notation 
    (like 5 of spades, A of hearts, 9 of clubs; and K of diamonds).
    The card faces should start from 2 to A.
    Print each card face in its four possible suits: clubs, diamonds, hearts and spades. Use 2 nested for-loops 
    and a switch-case statement.
 */


using System;
   class DeckОfCards
    {
        static void Main()
        {
            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 12 + 1; j++)
                {
                    switch (j)
                    {
                        case 0: Console.Write( "Two"  ); break;
                        case 1: Console.Write( "Three"); break;
                        case 2: Console.Write( "Four" ); break;
                        case 3: Console.Write( "Five" ); break;
                        case 4: Console.Write( "Six"  ); break;
                        case 5: Console.Write( "Seven"); break;
                        case 6: Console.Write( "Eight"); break;
                        case 7: Console.Write( "Nine" ); break;
                        case 8: Console.Write( "Ten"  ); break;
                        case 9: Console.Write( "Jack" ); break;
                        case 10: Console.Write("Queen"); break;
                        case 11: Console.Write("King" ); break;
                        case 12: Console.Write("Ace"  ); break;
                    }
                    Console.Write(" of ");
                    switch (i)
                    {
                        case 0: Console.WriteLine("Hearts"); break;
                        case 1: Console.WriteLine("Clubs"); break;
                        case 2: Console.WriteLine("Diamonnds"); break;
                        case 3: Console.WriteLine("Spades"); break;
                    }
                }
                Console.WriteLine();
            }
        }
    }
